package com.wanmei.mapper;

import com.wanmei.pojo.ActiveInfo;
import org.apache.ibatis.annotations.Param;

public interface ActiveInfoMapper {


    ActiveInfo getInfoByEmail(@Param("email") String email, @Param("type") String type);
    int getInfoByEmailAndType(@Param("email") String email,@Param("type") String type);
    int insert(ActiveInfo record);

    int insertSelective(ActiveInfo record);

    int deleteByEmailAndType(@Param("email")String email,@Param("type")String type);

    int updateActiveInfo(@Param("record") ActiveInfo recorde);

    int updateByExample(@Param("record") ActiveInfo record);

    int addCountByEmail(@Param("email") String email,@Param("type") String type);
}